package com.sky.service;


import com.sky.dto.EmployeeDto;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import com.sky.vo.EmployeeLoginVO;

public interface EmployeeService {
    //登录接口
    EmployeeLoginVO login(EmployeeLoginDTO loginDTO);

    //分页
    PageResult page(Integer page, Integer pageSize, String name);

    //修改员工密码
    void updatePass(EmployeeDto employeeDto);

    //添加员工
    void save(Employee employee);

    //根据id查询员工
    Employee selecById(Long id);

    //启用、禁用员工账号
    void startOrStop(Integer status,Long id);

    //编辑员工信息
    Integer updateEmp(Employee employee);
}
